<input type="text">
<input type="text" id="passwd">

<script>
    document.getElementById("passwd").focus();
</script>